import request from '@/utils/request'

// 查询公共参数日志列表
export function listData(query) {
  return request({
    url: "/cm-system/commonDataLog/list",
    method: "get",
    params: query,
  });
}

// 查询公共参数日志详细
export function getData(id) {
  return request({
    url: "/system/commonDataLog/" + id,
    method: "get",
  });
}

// 新增公共参数日志
export function addData(data) {
  return request({
    url: "/system/commonDataLog",
    method: "post",
    data: data,
  });
}

// 修改公共参数日志
export function updateData(data) {
  return request({
    url: "/system/commonDataLog",
    method: "put",
    data: data,
  });
}

// 删除公共参数日志
export function delData(id) {
  return request({
    url: "/system/commonDataLog/" + id,
    method: "delete",
  });
}
